﻿using System.Collections.Generic;
using netCoreStudy.Entities.Base;

namespace netCoreStudy.Dto.User
{
	public class UserDto : BaseDto
	{
		/// <summary>
		/// 用户姓名
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// 用户头像
		/// </summary>
		public string Avatar { get; set; }
		/// <summary>
		/// 角色列表
		/// </summary>
		public string[] RoleNames { get; set; }

		/// <summary>
		/// 角色列表
		/// </summary>
		public List<RoleDtoSm> Roles { get; set; } = new List<RoleDtoSm>();
	}
}